package es.ucm.fdi.healthpred.vista;

import javax.swing.JButton;

/**
 * Bot&oacute;n clonable.
 * 
 * @since 1.0
 * 
 * @version 1.0
 * 
 * @author &Aacute;lvaro G&oacute;mez Porris
 * @author V&iacute;ctor L&oacute;pez Monte
 * @author Carlos Rodr&iacute;guez Colliga
 * 
 */
public class JButtonClonable extends JButton implements Cloneable {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	public JButtonClonable() {
		super();
	}
	
	/**
	 * @param texto
	 */
	public JButtonClonable(String texto) {
		super(texto);
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#clone()
	 */
	public Object clone() {
		Object obj = null;
		try {
			obj = super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return obj;
	}
}